﻿using CommonType;
using MediatR;
using SqlSugar;

namespace S_Gridding.Api.Application.Commands.AssemType
{
    /// <summary>
    /// 中介者模式修改部件类型信息
    /// </summary>
    public class AssemTypeUpdateCommand: BaceEntity,IRequest<int>
    {
        /// <summary>
        /// 部件类型编号  主键
        /// </summary>
        public int AssemTypeId { get; set; }

        /// <summary>
        /// 部件类型编号
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型编号", Length = 200, IsNullable = true)]
        public string AssemTypeNum { get; set; }

        /// <summary>
        /// 部件类型名称
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型名称", Length = 200, IsNullable = true)]
        public string AssemTypeName { get; set; }

        /// <summary>
        /// 部件类型
        /// </summary>
        [SugarColumn(ColumnDescription = "部件类型", Length = 200, IsNullable = true)]
        public string AssemType { get; set; }

        /// <summary>
        /// 父级编号
        /// </summary>
        public int Pid { get; set; }
    }
}
